<div id="content-login">
	<div id="accountLogin">	
		<form action="login_validate.php" method="POST" class="bp">
			<fieldset>
				<legend>Login</legend>
				<ul>
					<?php if($$Err):?>
					<li class="error">
						<?php echo $$Err?>
					</li>
					<?php endif;?>
					<li>
						<label>Name</label>
						<input name="login" type="text" value=""/>		
					</li>
					<li>
						<label>Password</label>
						<input type="password" name="password" class="style3" value="" size="15"/>
						<input name="flag" type="hidden" value="affiliate"/>
					</li>
					<li>
						<input type="submit" value="Login"/>
					</li>
					<br/>
					<li style="text-align: center;">
					<a href="#" onclick="viewLink1()"><?=$lang_Forgot?> ? </a>
					</li>
				</ul>		
			</fieldset>
		</form>
	</div>				
</div>
<script language="javascript" type="text/javascript">
           function viewLink1()
                {

                   url="forgotpass.php?Action=affiliate";
                   nw = open(url,'new','height=200,width=450,scrollbars=yes');
                   nw.focus();
                }
 </script>
